<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/plugin/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>
</head>
<body>
	<div class="margin">
		<form class="form-horizontal" id="dataform"
			onsubmit="javascripm:return false;">
			<div class="container-fluid">
				<div class="row clearfix">
					<div class="col-md-12 column">
						<div class="panel panel-primary">
							<div class="panel-heading">
								<h3 class="panel-title">通用功能模块详情</h3>
							</div>
							<div class="panel-body">
								<table id="mgrid" class="table table-bordered margin"
									data-sort-name="1" data-sort-order="asc">
									<tr>
										<th width="10%">适用区域</th>
										<th width="10%">适用阶段</th>
										<th width="15%">优先级</th>
										<th width="15%">标题</th>
										<th width="8%">前置条件</th>
										<th width="10%">关键词</th>
										<th width="10%">创建人</th>
										<th width="10%">创建时间</th>
										<th width="10%">备注</th>
									</tr>
									<tr>
										<td>${more.commonCaseArea }</td>
										<td>${more.userStage }</td>
										<td>${more.grade }</td>
										<td>${more.title  }</td>
										<td>${more.beforCondition  }</td>
										<td>${more.keyworld  }</td>
										<td>${more.userName  }</td>
										<td><fmt:formatDate value="${more.createTime }"
												pattern="yyyy-MM-dd" /></td>
										<td>${more.remark  }</td>
									</tr>
								</table>

							</div>
						</div>

						<div class="col-md-12 column">
							<div class="panel panel-primary">
									<div class="panel-body">
										<table class="table table-bordered margin">
												<tr>
													<th>编号</th>
													<th>步骤</th>
													<th>预期</th>
												</tr>
												<c:forEach var='item' items="${more.stepsNoHistory }">
													<tr>
														<td>${item.stepNo }</td>
														<td>${item.title }</td>
														<td>${item.expectation }</td>
													</tr>
												</c:forEach>
										</table>
									</div>
								</div>
							</div>
						</div>
					</div>
					</div>

					<div class="form-group ">
						<div class="col-sm-12 text-center">
							<p id="submitBtn" style="display: inline;">
								<a class="btn btn-danger radius" href="javascript:;"
									onclick="MTools.closeForm()"><i class="fa fa-close"></i> 关闭</a>
						</div>
					</div>
		</form>
	</div>
</body>
<script type="text/javascript"
	src="${path }/resource/js/systools/MJsBase.js"></script>

</body>
</html>